package com.whnk.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.io.Serializable;
import java.util.Date;

/**
 * 项目考勤信息查询对象 pm_sign_Query
 *
 * @author whnk
 * @date 2021-11-17
 */
public class PmSignQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;


    /** 证件号码 */
    @ApiModelProperty(value = "证件号码",example = "111111111111111111",required = false)
    private String empId;

    /** 姓名 */
    @ApiModelProperty(value = "姓名",example = "小马",required = false)
    private String empNm;

    /** 项目编号 */
    @ApiModelProperty(value = "项目编号",example = "p001",required = false)
    private String proSn;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称",example = "信贷开发",required = false)
    private String proName;

    /** 开始年月 */
    @ApiModelProperty(value = "开始年月",example = "2021-09",required = false)
    @JsonFormat(pattern = "yyyy-MM")
    private Date startMonth;

    /** 结束年月 */
    @ApiModelProperty(value = "结束年月",example = "2021-10",required = false)
    @JsonFormat(pattern = "yyyy-MM")
    private Date endMonth;


    public void setEmpId(String empId)
    {
        this.empId = empId;
    }

    public String getEmpId()
    {
        return empId;
    }
    public void setEmpNm(String empNm)
    {
        this.empNm = empNm;
    }

    public String getEmpNm()
    {
        return empNm;
    }
    public void setProSn(String proSn)
    {
        this.proSn = proSn;
    }

    public String getProSn()
    {
        return proSn;
    }
    public void setProName(String proName)
    {
        this.proName = proName;
    }

    public String getProName()
    {
        return proName;
    }

    public Date getStartMonth() {
        return startMonth;
    }

    public void setStartMonth(Date startMonth) {
        this.startMonth = startMonth;
    }

    public Date getEndMonth() {
        return endMonth;
    }

    public void setEndMonth(Date endMonth) {
        this.endMonth = endMonth;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("empId", getEmpId())
            .append("empNm", getEmpNm())
            .append("proSn", getProSn())
            .append("proName", getProName())
            .append("startMonth", getStartMonth())
            .append("endMonth", getEndMonth())
            .toString();
    }
}
